#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

#define N 10
typedef int SQ;


typedef struct SeqList
{
	int *arr;
	int size = 0;
	int capecity = 1;
}SL;


void pushBack(SL* arr, SQ x);
void pushFront(SL* arr, SQ x);
void popBack(SL* arr);
void popFront(SL* arr);

